package com.yager.model;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {
    private String orderid;

    private String userid;

    private String houseid;

    private String orderdescription;

    private String applyusers;

    private String passedusers;

    private Boolean orderstatus;

    private Date orderddl;

    private Date orderdate;

    private String housename;

    public Order() {
    }

    public Order(String orderid, String userid, String houseid, String orderdescription, Boolean orderstatus, Date orderdate) {
        this.orderid = orderid;
        this.userid = userid;
        this.houseid = houseid;
        this.orderdescription = orderdescription;
        this.orderstatus = orderstatus;
        this.orderdate = orderdate;
    }

    private static final long serialVersionUID = 1L;

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getHouseid() {
        return houseid;
    }

    public void setHouseid(String houseid) {
        this.houseid = houseid;
    }

    public String getOrderdescription() {
        return orderdescription;
    }

    public void setOrderdescription(String orderdescription) {
        this.orderdescription = orderdescription;
    }

    public String getApplyusers() {
        return applyusers;
    }

    public void setApplyusers(String applyusers) {
        this.applyusers = applyusers;
    }

    public String getPassedusers() {
        return passedusers;
    }

    public void setPassedusers(String passedusers) {
        this.passedusers = passedusers;
    }

    public Boolean getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Boolean orderstatus) {
        this.orderstatus = orderstatus;
    }

    public Date getOrderddl() {
        return orderddl;
    }

    public void setOrderddl(Date orderddl) {
        this.orderddl = orderddl;
    }

    public Date getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(Date orderdate) {
        this.orderdate = orderdate;
    }

    public String getHousename() {
        return housename;
    }

    public void setHousename(String housename) {
        this.housename = housename;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderid=").append(orderid);
        sb.append(", userid=").append(userid);
        sb.append(", houseid=").append(houseid);
        sb.append(", orderdescription=").append(orderdescription);
        sb.append(", applyusers=").append(applyusers);
        sb.append(", passedusers=").append(passedusers);
        sb.append(", orderstatus=").append(orderstatus);
        sb.append(", orderddl=").append(orderddl);
        sb.append(", orderdate=").append(orderdate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}